package com.zhuss.team.db.dao.ext;

import com.zhuss.bean.bo.team.information.SearchInfoBo;
import com.zhuss.bean.vo.team.information.DetailInfoVo;
import com.zhuss.bean.vo.team.information.ListInfoVo;
import com.zhuss.team.db.dao.gen.InformationMapper;
import com.zhuss.team.db.entity.Information;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InformationDao extends InformationMapper{
    void create(Information record);

    void delete(Information record);

    DetailInfoVo detail(@Param("infoId") Long infoId);

    List<ListInfoVo> list(SearchInfoBo bo);

    Integer countList(SearchInfoBo bo);
}